/**
 * 
 */
package cc.monggo.service;

import java.util.ArrayList;

import cc.monggo.domain.BaseUser;
import cc.monggo.domain.XThirdUser;

/**
 * @author Administrator
 *
 */
public interface RegisterService {
	/**
	 * 注册一个第三方用户
	 * 
	 * @param thirdUser
	 * @return
	 */
	public BaseUser insertThirdUser(XThirdUser xThirdUser,BaseUser baseUser);
	
	/**
	 * 查找一个第三方用户
	 * 
	 * @param thirdId
	 * @param type
	 * @return
	 */
	public XThirdUser selectByThirdIdAndType(String thirdId,String type);
	
	/**
	 * 查找所有第三方用户
	 * @return
	 */
	public ArrayList<XThirdUser> selectAllThirdUser();
}
